package com.zhouheng.common.base.enums;

/**
 * @author zhouheng
 * @date 2021/7/7 10:13
 */
public enum StatusEnum implements BaseEnum<Integer> {
    ON(1),
    OFF(0);
    private final Integer value;

    StatusEnum(Integer value) {
        this.value = value;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getLabel() {
        return value.toString();
    }
}
